package com.cmz.common.consts;

/**
 * 系统常量
 * @author cmz
 */
public class SystemConsts {

    /** 线程键：令牌 */
    public static final String THREAD_KEY_TOKEN         = "THREAD_KEY_TOKEN";

    /** 线程键：令牌负载对象 */
    public static final String THREAD_KEY_TOKEN_PAYLOAD = "THREAD_KEY_TOKEN_PAYLOAD";

    /** 配置前缀：定时任务配置 */
    public static final String SCHEDULE_CONFIG_COMMON_PREFIX = "ark.sdk.schedule.";

    /**
     * 缓存名称
     */
    public static class CacheNames {

        /** 公共缓存：参数、字典 */
        public final static String ARK_SYS_COMMON = "ARK_SYS_COMMON";

        /** 系统角色缓存：角色信息 */
        public final static String ARK_SYS_ROLE   = "ARK_SYS_ROLE";

        /** 系统用户缓存：用户信息 */
        public final static String ARK_SYS_USER   = "ARK_SYS_USER";

    }

}
